<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="shortcut icon" href="__IMG__/favicon.ico" />
		<link rel="bookmark" href="__IMG__/favicon.ico" type="image/x-icon" 　/>
		<title>个人中心</title>
		<link rel="stylesheet" type="text/css" href="__CSS__/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="__CSS__/common.css"/>
		<link rel="stylesheet" type="text/css" href="__CSS__/index.css"/>
		<script src="__JS__/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" charset="utf-8">
	      	mui.init();
        </script>
	</head>
	<body >
		<header class="mui-bar mui-bar-nav">
		    <h1 class="mui-title">个人中心</h1>
		    <a href="{:url('mine/service')}" class="right sever_box"><img class="width_100 mg_top5" src="__IMG__/icon_service.png" alt="" /></a>
		</header>
		{include file="common/nav" /}
		<div class="mui-content">
		    <ul id="list" class="mui-table-view mui-table-view-chevron">
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="{:url('mine/personal')}">
						<dl class="clearfix">
							<dt class="left user_box">
								<img class="width_100" src="{$data.head|default='__IMG__/user_head.png'}" alt="" style="border-radius: 50%"/>
							</dt>
							<dd class="left padding_5">
								<h4>{$data.nickname}</h4>
								<h5 class="mg_top10">账号：{$data.mobile}</h5>
							</dd>
						</dl>
					</a>
				</li>
			</ul>	
			<ul class="clearfix mine_box2 bg_ff bor_b mg_top10">
				<li>
					<h3 class="blue">{$data.money}</h3>
					<h5 class="mg_top10">余额</h5>
				</li>
				<li>
					<!--<a href="{:url('mine/back_record')}">-->
					<a href="{:url('mine/quota')}">
					<h3 class="blue">AG/BB</h3>
					<h5 class="mg_top10">额度</h5>
					</a>
				</li>
			</ul>
			<div class="bg_ff text-center padding_10 clearfix">
				<a href="{:url('mine/withdraw')}" class="withdraw_a left">提现</a>
				<a href="{:url('mine/quota')}" class="withdraw_a right">额度转换</a>
			</div>
			 <ul class="mui-table-view mui-table-view-chevron mg_top20">
				 <li class="mui-table-view-cell">
					 <a class="mui-navigate-right" href="{:url('mine/back_record')}">
						 <i class="icon_box" ><img src="__IMG__/icon_p03.png"/></i>回水记录
					 </a>
				 </li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="{:url('mine/transaction_record')}">
						<i class="icon_box"><img src="__IMG__/icon_p01.png"/></i>交易记录
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="{:url('mine/statistics_record')}">
						<i class="icon_box"><img src="__IMG__/icon_p02.png"/></i>统计记录
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="{:url('mine/recharge_record')}">
						<i class="icon_box" ><img src="__IMG__/icon_p03.png"/></i>充值记录
					</a>
				</li>
			</ul>
			<ul class="mui-table-view mui-table-view-chevron mg_top20">
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="{:url('mine/promotion')}">
						<i class="icon_box"><img src="__IMG__/icon_p04.png"/></i>我的推广
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="{:url('mine/service')}">
						<i class="icon_box"><img src="__IMG__/icon_p05.png"/></i>联系客服
					</a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="{:url('mine/setting')}">
						<i class="icon_box"><img src="__IMG__/icon_p06.png"/></i>设置
					</a>
				</li>
			</ul>	
			<div class="text-center">

				{if $is_login==1}

					{if $is_weixin==0}
					<a  href="{:url('login/logout')}" class="quit_a">退出登录</a>
					{/if}

				{else/}
					{if $is_weixin==0}
					   <a  href="{:url('login/login')}" class="quit_a">登录</a>
				    {else/}
				    <a  href="{:url('login/bang')}" class="quit_a">绑定手机号码</a>
				    {/if}
				{/if}
			</div>
		</div>
	</body>
</html>
